home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 13 / AMIGAplus Sonderheft 13 (1998)(ICP)(DE)[!].iso / rexx / variablesdemo.rexx < prev    next >
OS/2 REXX Batch file  |  1997-07-31  |  3KB  |  186 lines

  1. /*
  2. ------------------------------------------------------------
  3.  variablesDEMO.rexx
  4.  
  5.  This script demonstrates how to define variables
  6.  
  7.  Copyright ©1996 WK-Artworks
  8. ------------------------------------------------------------
  9. */
  10.  
  11.  
  12. if ~show('P','Wildfire') then do
  13.  say " Error: The Wildfire-program must be started before executing this script."
  14.  exit
  15. end
  16.  
  17. address "Wildfire"
  18. options results
  19.  
  20. txt_text "tutorial/variables/txt1"
  21. txt_centre
  22. txt_wait
  23.  
  24. v_clear
  25. pc_clear
  26. m_openprocessor
  27. pc_openvariables
  28.  
  29. txt_text "tutorial/variables/txt2"
  30. txt_centre
  31. m_wait 3
  32.  
  33. v_add 'test'
  34. m_wait 2
  35.  
  36. txt_text "tutorial/variables/txt3"
  37. txt_centre
  38. m_wait 3
  39. v_envelope
  40. m_wait 3
  41. ev_add 10 2
  42. ev_add 20 '-3'
  43. ev_add 30 1
  44. ev_add 40 '-0.5'
  45. ev_add 50 '-2'
  46. ev_add 60 4
  47. m_wait 2
  48.  
  49. txt_text "tutorial/variables/txt4"
  50. txt_centre
  51. m_wait 3
  52. v_envelope
  53. ev_viewall
  54. m_wait 2
  55.  
  56. txt_text "tutorial/variables/txt5"
  57. txt_centre
  58. m_wait 3
  59. v_envelope
  60. ev_interpolation BEZIER
  61. m_wait 2
  62. ev_interpolation LINEAR
  63. m_wait 2
  64. ev_interpolation SPLINE
  65. m_wait 2
  66.  
  67. txt_text "tutorial/variables/txt6"
  68. txt_centre
  69. m_wait 3
  70. v_envelope
  71. ev_scrollleft
  72. ev_scrollleft
  73. ev_scrollleft
  74. ev_scrollleft
  75. ev_scrollleft
  76. ev_scrollup
  77. ev_scrollup
  78. ev_scrollright
  79. ev_scrollright
  80. ev_scrolldown
  81. ev_scrollright
  82. ev_scrolldown
  83. ev_scrollright
  84. ev_scrollright
  85. m_wait 2
  86.  
  87. txt_text "tutorial/variables/txt7"
  88. txt_centre
  89. m_wait 3
  90. v_envelope
  91. ev_select 1
  92. ev_selectnext
  93. m_wait 1
  94. ev_selectnext
  95. m_wait 1
  96. ev_selectnext
  97. m_wait 1
  98. ev_selectprev
  99. ev_drag 21 4 24
  100. ev_drag 20 '-3' 24
  101. ev_drag 15 2 24
  102. ev_drag 20 '-3' 24
  103. m_wait 1
  104. ev_selectnext
  105. ev_interpolation BEZIER
  106. ev_drag 30 5 24
  107. ev_drag 39 4 24
  108. ev_drag 21 3 24
  109. ev_drag 23 '-3' 24
  110. ev_drag 30 1 24
  111. ev_selectnext
  112. ev_drag 40 '5.7' 24
  113. m_wait 2
  114.  
  115. txt_text "tutorial/variables/txt8"
  116. txt_centre
  117. m_wait 3
  118. ev_openadvanced
  119. eva_xval "1.0"
  120. eva_yval "0.5"
  121. m_wait 2
  122. v_envelope
  123. eva_shift
  124. eva_shift
  125. eva_shift
  126. eva_shift
  127. eva_shift
  128. eva_shift
  129. eva_shift
  130. eva_shift
  131. eva_shift
  132. eva_shift
  133. eva_shift
  134. eva_shift
  135. m_wait 2
  136. ev_openadvanced
  137. eva_xval "-2.0"
  138. eva_yval "-1.0"
  139. m_wait 2
  140. v_envelope
  141. eva_shift
  142. eva_shift
  143. eva_shift
  144. eva_shift
  145. eva_shift
  146. eva_shift
  147. m_wait 2
  148. eva_close
  149. ev_viewall
  150. m_wait 2
  151.  
  152. txt_text "tutorial/variables/txt9"
  153. txt_centre
  154. m_wait 3
  155. pc_closevariables
  156. m_wait 2
  157.  
  158. txt_text "tutorial/variables/txt10"
  159. txt_centre
  160. m_wait 3
  161. pc_add rotate  stream stream 160 128 100 'test' 1.0
  162. m_wait 2
  163.  
  164. txt_text "tutorial/variables/txt11"
  165. txt_centre
  166. m_wait 3
  167. pc_openedit
  168. pc_moveedit 0 0
  169. m_wait 2
  170.  
  171. txt_text "tutorial/variables/txt12"
  172. txt_centre
  173. m_wait 3
  174.  
  175. txt_text "tutorial/variables/txt13"
  176. txt_centre
  177. m_wait 3
  178. v_clear
  179. pc_clear
  180. m_closeprocessor
  181. m_wait 2
  182.  
  183. txt_text "tutorial/variables/txt14"
  184. txt_centre
  185. txt_wait
  186.